cmake_minimum_required(VERSION 3.10)

# Kafka示例可执行文件
add_executable(kafka_example
    kafka_example.cpp
)

# 添加头文件搜索路径
target_include_directories(kafka_example PUBLIC
    ${CMAKE_SOURCE_DIR}/include
)

# 链接依赖库
target_link_libraries(kafka_example
    messaging_lib
    common_logger_lib
    rdkafka
    rdkafka++
) 